<link rel="stylesheet" type="text/css" href="./themes/soojoy/css/head-nav.css">
<div class="body" id="head">
   <?php 
$k = array (
  'name' => 'member_info',
);
echo $this->_echash . $k['name'] . '|' . serialize($k) . $this->_echash;
?> 
   <?php if ($this->_var['navigator_list']['top']): ?>
    <ul class="user-control-center">
      <li class="item"><?php 
$k = array (
  'name' => 'cart_info',
);
echo $this->_echash . $k['name'] . '|' . serialize($k) . $this->_echash;
?>|</li>
      <li class="item">
        <?php $_from = $this->_var['navigator_list']['top']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'nav');$this->_foreach['nav_top_list'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['nav_top_list']['total'] > 0):
    foreach ($_from AS $this->_var['nav']):
        $this->_foreach['nav_top_list']['iteration']++;
?>
            <a href="<?php echo $this->_var['nav']['url']; ?>" <?php if ($this->_var['nav']['opennew'] == 1): ?> target="_blank" <?php endif; ?>><?php echo $this->_var['nav']['name']; ?></a>
            <?php if (! ($this->_foreach['nav_top_list']['iteration'] == $this->_foreach['nav_top_list']['total'])): ?> | <?php endif; ?>
        <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
      </li>
    </ul>
   <?php endif; ?>
</div>
<div class="body" id="nav">
  <div class="logo">
    <a href="index.php" name="top">
      <img src="themes/soojoy/images/logo.gif" />
    </a>
    
<div id="search"  class="clearfix">
  <form id="searchForm" name="searchForm" method="get" action="search.php" onSubmit="return checkSearchForm()" class="f_r"  style="_position:relative; top:5px;">
   <input name="keywords" type="text" id="keyword" value="<?php echo htmlspecialchars($this->_var['search_keywords']); ?>" class="B_input" style="width:110px;"/>
   <input name="imageField" type="submit" value="搜索" class="go" style="cursor:pointer;" />
   <a href="search.php?act=advanced_search"><?php echo $this->_var['lang']['advanced_search']; ?></a>
   </form>
</div>

  </div>
  <div class="left-small nav-sort-title">全部商品分类</div>
  <ul class="nav-pages right-big">
      <li <?php if ($this->_var['navigator_list']['config']['index'] == 1): ?> class="item active"<?php endif; ?> class="item" >
        <a href="index.php">
          <?php echo $this->_var['lang']['home']; ?>
        </a>
      </li>
      <?php $_from = $this->_var['navigator_list']['middle']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'nav');$this->_foreach['nav_middle_list'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['nav_middle_list']['total'] > 0):
    foreach ($_from AS $this->_var['nav']):
        $this->_foreach['nav_middle_list']['iteration']++;
?>
      <li <?php if ($this->_var['nav']['opennew'] == 1): ?>target="_blank" <?php endif; ?> <?php if ($this->_var['nav']['active'] == 1): ?> class="item active"<?php endif; ?> class="item" >
        <a href="<?php echo $this->_var['nav']['url']; ?>">
          <?php echo $this->_var['nav']['name']; ?>
        </a>
      </li>
      <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
  </ul>
</div>

</div>

